Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage B

Total Complexity 88
Dependencies 6
Dependents 3
Total lines 643
Lines of code 336
Logical lines of code 161
Comment lines 211
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_active_payments_task_slug()
A
50 17 29
get_incentive()
A
38 13 73
register_menu_and_page()
A
39 11 66
is_incentive_visible()
A
55 8 21
has_orders()
S
51 6 26
has_wcpay()
S
54 6 23
is_incentive_dismissed()
S
60 4 14
onboarding_task_additional_data()
S
63 4 12
get_payments_task()
S
64 3 11
shared_settings()
S
65 3 10
instance()
S
75 2 4
is_payments_task_complete()
S
75 2 4
has_wcpay_account_data()
S
68 2 7
onboarding_task_badge()
S
71 2 6
allowed_promo_notes()
S
69 2 7
generate_context_hash()
S
61 1 13
__construct()
S
67 1 7
is_wcpay_active()
S
80 1 3